package com.kelan.android.app.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.kelan.android.app.entity.CheckTaskEntity;
import com.kelan.android.app.mapper.CheckTaskMapper;

@Service
public class CheckServiceImpl implements CheckService {

	@Autowired
	private CheckTaskMapper checkTaskMapper;
	
	@Override
	public List<CheckTaskEntity> selectCheckTaskList(CheckTaskEntity checkTaskEntity) {
		return checkTaskMapper.selectCheckTaskList(checkTaskEntity);
	}

	@Override
	public int insertCheckTask(CheckTaskEntity checkTaskEntity) {
		return checkTaskMapper.insertCheckTask(checkTaskEntity);
	}

	@Override
	public int updateCheckTask(CheckTaskEntity checkTaskEntity) {
		return checkTaskMapper.updateCheckTask(checkTaskEntity);
	}

	@Override
	public int deleteCheckTaskById(String id) {
		return checkTaskMapper.deleteCheckTaskById(id);
	}

	@Override
	public CheckTaskEntity selectCheckTaskById(String id) {
		return checkTaskMapper.selectCheckTaskById(id);
	}

}
